// menuData.js
export const menuData = [
  {
    index: '0',
    type: 'logo',
    src: '@/assets/logo.png',
    alt: 'Element logo',
  },
  {
    index: '1',
    name: '首页',
    type: 'item',
    path: '/console' // 添加路径
  },
  {
    index: '2',
    name: '支付管理',
    type: 'submenu',
    children: [
      { 
        index: '2-1', 
        name: '支付记录',
        path: '/pay/records' // 添加路径
      },
      { 
        index: '2-2', 
        name: '退款管理',
        path: '/pay/refunds' // 添加路径
      },
      { 
        index: '2-3', 
        name: '账单查询',
        path: '/pay/bills' // 添加路径
      },
      {
        index: '2-4',
        name: '统计分析',
        type: 'submenu',
        children: [
          { 
            index: '2-4-1', 
            name: '日报表',
            path: '/pay/analysis/daily' // 添加路径
          },
          { 
            index: '2-4-2', 
            name: '月报表',
            path: '/pay/analysis/monthly' // 添加路径
          },
          { 
            index: '2-4-3', 
            name: '年报表',
            path: '/pay/analysis/yearly' // 添加路径
          }
        ]
      }
    ]
  },
  {
    index: '3',
    name: '消息中心',
    type: 'submenu',
    popperOffset: 8,
    children: [
      { 
        index: '3-1', 
        name: '消息列表',
        path: '/message/index' // 添加路径
      },
      { 
        index: '3-2', 
        name: '权限设置',
        path: '/system/permissions' // 添加路径
      },
      { 
        index: '3-3', 
        name: '系统配置',
        path: '/system/config' // 添加路径
      }
    ]
  },
  {
    index: '4',
    name: '信息',
    type: 'item',
    disabled: true,
    path: '/info' // 添加路径
  },
  {
    index: '5',
    name: '订单',
    type: 'item',
    path: '/orders' // 添加路径
  }
]